# 有10个地方需要输出1-100之间所有的偶数
# 需求变更,变成输出1-100之间所有的奇数
'''
for i in range(1,101):
    if i % 2 != 0:
        print(i)


for i in range(1,101):
    if i % 2 != 0:
        print(i)


for i in range(1,101):
    if i % 2 != 0:
        print(i)


for i in range(1,101):
    if i % 2 != 0:
        print(i)


'''

# 使用函数解决刚刚遇到的问题:
def fn():
    for i in range(1,101):
        if i % 2 == 0:
            print(i)

fn()

print("hello")
fn()
print("haha")


fn()
print("hehe")